package net.fiodor.core {
	import eu.szemraj.logging.Log;
	import eu.szemraj.logging.Logger;
	import eu.szemraj.logging.channel.TraceChannel;
	
	import flash.display.Sprite;
	import flash.utils.getQualifiedClassName;		

	/**
	 * @author tswierszcz
	 */
	public class BasicSprite extends Sprite {
			
		private var __logger: Logger;
		
		public function BasicSprite() {
			
			super();
			
		}
	
		private function getLogger():Logger {
		
			if( !__logger ) {
			
			__logger = Log.getLogger(getQualifiedClassName(this));
			__logger.addChannel(new TraceChannel());
			//__logger.addChannel(new FireBugChannel());
			}
		
		return __logger;	
	}
		
		
	}
        
}
